home *** CD-ROM | disk | FTP | other *** search
- // How to remote control bRadio?
- //
- // HWND bradiowin;
- // if (bradiowin = FindWindow("bRadio", "bRadio"))
- // PostMessage(bradiowin, WM_COMMAND, command, 0);
-
- #define BRADIO_QUIT 50000
-
- #define BRADIO_NEXTSTATION 50001
- #define BRADIO_PREVSTATION 50002
- #define BRADIO_VOLUMEUP 50003
- #define BRADIO_VOLUMEDN 50004
- #define BRADIO_MUTE 50005
- #define BRADIO_RESET 50006
- #define BRADIO_MONO 50007
-
- #define BRADIO_FAV1 50010
- #define BRADIO_FAV2 50011
- #define BRADIO_FAV3 50012
- #define BRADIO_FAV4 50013
- #define BRADIO_FAV5 50014
- #define BRADIO_FAV6 50015
- #define BRADIO_FAV7 50016
- #define BRADIO_FAV8 50017
- #define BRADIO_FAV9 50018
- #define BRADIO_FAV10 50019
-
- #define BRADIO_ACTIVATE 50020
-
- // other commands
- #define BRADIO_ISBLOCKED 50100 // user is playing with dialogs, remote input blocked
- #define BRADIO_ISACTIVE 50101 // window not in tray && not minimized
-
- // Example:
- //blocked = SendMessage(bradiowin, WM_COMMAND, BRADIO_ISBLOCKED, 0);
-
-